package com.gao.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.gao.common.utils.PageUtils;
import com.gao.common.utils.Query;

import com.gao.dao.WlEquipmentDao;
import com.gao.entity.WlEquipmentEntity;
import com.gao.service.WlEquipmentService;


@Service("wlEquipmentService")
public class WlEquipmentServiceImpl extends ServiceImpl<WlEquipmentDao, WlEquipmentEntity> implements WlEquipmentService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<WlEquipmentEntity> page = this.page(
                new Query<WlEquipmentEntity>().getPage(params),
                new QueryWrapper<WlEquipmentEntity>()
        );

        return new PageUtils(page);
    }

}